Skip to content

chore: integrate security audit into threat model and issues#433

Merged
chaliy merged 4 commits intomainfrom
claude/security-audit-bashkit-DLTCL
Mar 1, 2026
Merged

chore: integrate security audit into threat model and issues#433
chaliy merged 4 commits intomainfrom
claude/security-audit-bashkit-DLTCL

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Mar 1, 2026

Summary

Details

12 findings were missing threat model entries (had issues but no TM-IDs). Added:
TM-DOS-034 through TM-DOS-040, TM-ESC-014, TM-INJ-011, TM-INF-016, TM-PY-026, TM-PY-027.

Updated vulnerability summary and open controls matrix in both spec and public docs.

Test plan

  • just check passes (no code changes, only markdown)
  • Verify all 27 issues exist: gh issue list -l security -L 30
  • Spot-check threat model IDs match issue descriptions

claude added 4 commits March 1, 2026 01:00
Full manual code review covering parser, interpreter, VFS, builtins,
network layer, git support, Python bindings, and tool orchestration.

Identified 27 findings (2 critical, 8 high, 10 medium, 7 low) including
arithmetic panic/DoS, VFS limit bypass, internal variable namespace
injection, process env pollution in jq, and shell injection in Python
deepagents wrapper.

https://claude.ai/code/session_011wB794wXwA9BMoj1sFKtrE
Add 15 new threat IDs discovered during comprehensive security audit:
- TM-DOS-029 to TM-DOS-033: arithmetic panic, parser bypass, extglob DoS
- TM-ESC-012, TM-ESC-013: VFS limit bypass via public API
- TM-INF-013 to TM-INF-015: jq env leak, PID leak, URL credential leak
- TM-INJ-009, TM-INJ-010: variable namespace injection, tar traversal
- TM-ISO-004: cross-tenant env pollution
- TM-GIT-014: branch name path injection
- TM-PY-023 to TM-PY-025: shell injection, heredoc escape, GIL deadlock

Update vulnerability summary, security controls matrix, and public docs.

https://claude.ai/code/session_011wB794wXwA9BMoj1sFKtrE
Ensure every finding in SECURITY_AUDIT.md has a corresponding threat
model entry. Added:
- TM-DOS-034 to TM-DOS-040: TOCTOU, OverlayFs gaps, validate_path, 32-bit
- TM-ESC-014: custom builtins lost after first call
- TM-INJ-011: cyclic nameref silent resolution
- TM-INF-016: error message info leaks
- TM-PY-026: reset() discards config
- TM-PY-027: JSON conversion unbounded recursion

Updated vulnerability summary and open controls matrix in both
specs/006-threat-model.md and public docs/threat-model.md.

https://claude.ai/code/session_011wB794wXwA9BMoj1sFKtrE
All 27 findings are now tracked in GitHub issues (#405-#431) with
severity labels, and all threat model IDs are in specs/006-threat-model.md.
The file is no longer needed.

https://claude.ai/code/session_011wB794wXwA9BMoj1sFKtrE
@chaliy chaliy merged commit 6556e8c into main Mar 1, 2026
16 checks passed
@chaliy chaliy deleted the claude/security-audit-bashkit-DLTCL branch March 1, 2026 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants